<?php

$location   = location($this_cata_id);       // 当前位置：从当前文章的
$side       = class_list(array('cid' => $this_cata_id, 'title_length' => 40), 1);
indexseo($this_cata_info);

$thisclass  = & class_info($this_cata_id);
$tpl->assign(array(
    // 页面seo信息
    'seo_title'     => $seo_title,
    'seo_keywords'  => $seo_keywords,
    'seo_description' => $seo_description,

    'side'  => $side,
    'thisclass' => $thisclass,
    'location'  => $location,
    'this_cata_dir' => $this_cata_dir,
    'this_cata_id'  => $this_cata_id,
    ));

$tpl->display($tpl_index);
?>